// app.js
App({
  onLaunch() {
    const info = wx.getSystemInfoSync()
    this.globalData.statusBarHeight = info.statusBarHeight
    this.globalData.screenHeight = info.screenHeight
    this.globalData.screenWidth = info.screenWidth

  },
  globalData: {
    screenHeight:0,
    screenWidth:0,
    statusBarHeight:0
  }
})
